package com.yeild.service.apis.hello.interfaces

import io.quarkus.security.Authenticated
import io.vertx.ext.web.RoutingContext
import jakarta.annotation.security.PermitAll
import jakarta.ws.rs.GET
import jakarta.ws.rs.Path
import jakarta.ws.rs.core.Context

@Path("hello")
class Hello {
    @GET
    @Authenticated
    fun hello(@Context ctx: RoutingContext): String {
        return "Hello"
    }
}